package com.xinghou.platform.dao.main;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.xinghou.platform.model.main.StoreBrowse;

public interface StoreBrowseDAO {
	
    public StoreBrowse getStoreBrowseByid(Integer Id)throws DataAccessException;
	
	public int updateStoreBrowse(StoreBrowse storeBrowse) throws DataAccessException;
		
	public int saveStoreBrowse(StoreBrowse storeBrowse) throws DataAccessException;
	
	public StoreBrowse getStoreBrowseBytwo(Integer userId,Integer storeId )throws DataAccessException;
	
	/**
	 * 获得门店浏览用户集合 (update_time倒序)
	 * @param storeId
	 * @param rowNum	门店id
	 * @return
	 */
	public List<StoreBrowse> getStoreListByUserId(int storeId,int rowNum) throws DataAccessException;
}
